package com.gzhryc.shared_device.oem.code.order.dao.models;

import com.gzhryc.jdbc.annotaion.DateBranchJoin;
import com.gzhryc.jdbc.annotaion.Join;
import com.gzhryc.shared_device.cdb.code.dao.db.CDBOrder;
import com.gzhryc.shared_device.oem.code.profit.dao.db.BusinessOrderUser;

public class CDBOrderUser extends BusinessOrderUser {

    @DateBranchJoin
    @Join(fromField = "trade_no",toField = "trade_no")
    private CDBOrder deviceOrder;

    public CDBOrder getDeviceOrder() {
        return deviceOrder;
    }

    public void setDeviceOrder(CDBOrder deviceOrder) {
        this.deviceOrder = deviceOrder;
    }
}
